Skip to content

Update Directus SDK examples (support for extensions)#68

Open
kheiner wants to merge 2 commits into
directus:mainfrom
kheiner:fix/sdk-support-extensions
Open

Update Directus SDK examples (support for extensions)#68
kheiner wants to merge 2 commits into
directus:mainfrom
kheiner:fix/sdk-support-extensions

Conversation

@kheiner

@kheiner kheiner commented Apr 27, 2026

Copy link
Copy Markdown
Contributor

⚠️ NOTE FROM BRY: PENDING REVIEW OF SDK PR IN CORE

This PR assumes #66 is going to be merged, it made more sense to build from a branch that didn't need me to recreate fixes already made.

Adds Directus SDK code examples to the six extension endpoints that previously showed // Not supported in Directus SDK.

Changes

  • PATCH /extensions/{id}: updateExtension(id, data)
  • DELETE /extensions/{id}: deleteExtension(id)
  • GET /extensions/registry: readRegistryExtensions(query?)
  • POST /extensions/registry/install: installRegistryExtension(id, version)
  • POST /extensions/registry/reinstall: reinstallRegistryExtension(id)
  • DELETE /extensions/registry/uninstall/{id}: uninstallRegistryExtension(id)

Related

Companion to directus/directus#27310, directus/directus#27311, directus/directus#27312 will add these SDK commands to @directus/sdk if merged.

P.S. I can't put labels, but this is 'future release' or whatever equivalent is for pending review on the monorepo.

@kheiner

kheiner commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

The PR that this depended on was merged successfully. Would you like me to resolve the conflicts and make noise for a merge here? I have a grandiose vision that I can make some tweaks to the @directus/specs package that will make this entire repo obsolete but until then I'm having fun trying to help keep it up to date.

kheiner added 2 commits July 24, 2026 06:53
… specs

This is a companion to SDK PR review (directus/directus#27314):
 - GET /extensions/registry/account/{id} => readRegistryAccount(id)
 - GET /extensions/registry/extension/{id} => readRegistryExtension(id)
@kheiner
kheiner force-pushed the fix/sdk-support-extensions branch from 49fc31e to 80357c3 Compare July 24, 2026 13:56
@kheiner

kheiner commented Jul 24, 2026

Copy link
Copy Markdown
Contributor Author

@bryantgillespie I'm working through some of my older PRs and purging. This one is a valid correction to the OpenAPI spec now that directus/directus#27314 is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants